package com.lebang.mapper.ybd;

import com.lebang.domain.ybd.YbdCategoryMemberRecord;
import com.lebang.example.ybd.YbdCategoryMemberRecordExample;
import com.lebang.mapper.MyBatisBaseDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;

/**
 * YbdCategoryMemberRecordMapper继承基类
 */
@Mapper
public interface YbdCategoryMemberRecordMapper extends MyBatisBaseDao<YbdCategoryMemberRecord, Integer, YbdCategoryMemberRecordExample> {
    YbdCategoryMemberRecord selectByRequest(@Param("memberId") String memberId, @Param("category") String category,
                                            @Param("configId") String configId, @Param("createDate") LocalDate date);

    int updateStatusById(@Param("id") Integer id, @Param("status") int status);
}